from pyicloud import PyiCloudService
from json import dumps


api = PyiCloudService('394246577@163.com', 'Aa3101914', './pyicloud/cookies')
print dumps(api.calendar.get_detail('home', 'C9FFD453-916F-453C-90DF-ABB75127F1BE'))
#print dumps(api.calendar.post('home', 'title', 'location', startDate="2016/08/29 15:00", endDate="2016/08/29 16:00", invitees=['whenjonny@gmail.com']))
